package com.zhumei.keyscale.entity.vo;

import java.io.*;
import java.math.*;

public class GoodsDetailVo implements Serializable
{
    private String goodsId;
    private String goodsName;
    private String goodsSpecId;
    private String picture;
    private BigDecimal price;
    private String totalPrice;
    private int type;
    private String unit;
    private double weight;
    
    public String getGoodsId() {
        return this.goodsId;
    }
    
    public String getGoodsName() {
        return this.goodsName;
    }
    
    public String getGoodsSpecId() {
        return this.goodsSpecId;
    }
    
    public String getPicture() {
        return this.picture;
    }
    
    public BigDecimal getPrice() {
        return this.price;
    }
    
    public String getTotalPrice() {
        return this.totalPrice;
    }
    
    public int getType() {
        return this.type;
    }
    
    public String getUnit() {
        return this.unit;
    }
    
    public double getWeight() {
        return this.weight;
    }
    
    public void setGoodsId(final String goodsId) {
        this.goodsId = goodsId;
    }
    
    public void setGoodsName(final String goodsName) {
        this.goodsName = goodsName;
    }
    
    public void setGoodsSpecId(final String goodsSpecId) {
        this.goodsSpecId = goodsSpecId;
    }
    
    public void setPicture(final String picture) {
        this.picture = picture;
    }
    
    public void setPrice(final BigDecimal price) {
        this.price = price;
    }
    
    public void setTotalPrice(final String totalPrice) {
        this.totalPrice = totalPrice;
    }
    
    public void setType(final int type) {
        this.type = type;
    }
    
    public void setUnit(final String unit) {
        this.unit = unit;
    }
    
    public void setWeight(final double weight) {
        this.weight = weight;
    }
    
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append("GoodsDetailVo{goodsId='");
        sb.append(this.goodsId);
        sb.append('\'');
        sb.append(", goodsSpecId='");
        sb.append(this.goodsSpecId);
        sb.append('\'');
        sb.append(", picture='");
        sb.append(this.picture);
        sb.append('\'');
        sb.append(", goodsName='");
        sb.append(this.goodsName);
        sb.append('\'');
        sb.append(", unit='");
        sb.append(this.unit);
        sb.append('\'');
        sb.append(", price=");
        sb.append(this.price);
        sb.append(", type=");
        sb.append(this.type);
        sb.append(", weight=");
        sb.append(this.weight);
        sb.append(", totalPrice=");
        sb.append(this.totalPrice);
        sb.append('}');
        return sb.toString();
    }
}
